Answer:

The content pane.

setResizable()

One method for ensuring that a graphical interface looks the way you intend is to prevent the user from resizing it. Do this with this method of JFrame:

public void setResizable(boolean resizable)

If the parameter is false then the user cannot resize the frame. But this does not solve all problems. When a frame contains several logical grouping of components it is usually difficult to lay them out correctly using a single layout manager. You would like to group related components together, and then to lay out the groups in the content pane. This is what panels are for.

QUESTION 2:

By default, may the user resize the frame?